﻿using System;
using System.Collections.Generic;
using System.Text;
using Y2.Dao;
using EFModel;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using xm.Controllers;

namespace IServices
{
     public interface Itype
    {
        //递归查询所有权限
        Task<string> dg();
        List<Tree> CreateTree(List<type> list, int pid);
        //递归查询当前id所有权限
        Task<string> dgto(int id);
        List<Tree> CreateTree1(int pid, int id);
    }
}